<?php
    require("phpmailer/class.phpmailer.php");
    
    $mail = new PHPMailer();
    $mail->IsSMTP(); // send via SMTP
    $mail->SMTPAuth = true; // turn on SMTP authentication
    $mail->Username = "Gora.Kiev@gmail.com"; // SMTP username
    $mail->Password = "567567566"; // SMTP password
    $webmaster_email = "Gora.Kiev@gmail.com"; //Reply to this email ID
    $email="380970413589@sms.kyivstar.net"; // Recipients email ID
    $name="380970413589"; // Recipient's name
    $mail->From = $webmaster_email;
    $mail->FromName = "Webmaster";
    $mail->AddAddress($email,$name);
    $mail->AddReplyTo($webmaster_email,"Webmaster");
    $mail->WordWrap = 50; // set word wrap
//    $mail->AddAttachment("/var/tmp/file.tar.gz"); // attachment
//    $mail->AddAttachment("/tmp/image.jpg", "new.jpg"); // attachment
    $mail->IsHTML(false); // send as HTML
    $mail->Subject = "";
    $mail->Body = "тестовое сообщение от Атласа"; //HTML Body
    $mail->AltBody = ""; //Text Body
    if(!$mail->Send())
    {
    echo "Mailer Error: " . $mail->ErrorInfo;
    }
    else
    {
    echo "Message has been sent";
    }
?>